import 'package:json_annotation/json_annotation.dart';

part 'bt_message.g.dart';

@JsonSerializable()
class BtMessage {
  final String messageId;
  final String content;

  const BtMessage({
    required this.messageId,
    required this.content,
  });

  factory BtMessage.fromJson(Map<String, dynamic> json) => _$BtMessageFromJson(json);

  Map<String, dynamic> toJson() => _$BtMessageToJson(this);
}
